package q3;

/**
 * 订单，也就相当于一个票据
 * @author：涂有
 * @date 2017年12月2日 下午5:09:56
 */
public class Order {

	/**菜品，为了简化，就点一个菜*/
	private Food food;
	/**顾客*/
	private Customer customer;
	/**服务员*/
	private Waiter waiter;
	
	public Order(Food food, Customer customer) {
		super();
		this.food = food;
		this.customer = customer;
	}

	public Food getFood() {
		return food;
	}

	public Customer getCustomer() {
		return customer;
	}

	public Waiter getWaiter() {
		return waiter;
	}

	public void setWaiter(Waiter waiter) {
		this.waiter = waiter;
	}
}
